<%@ page import="com.oval.util.JspHelper" %>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ page language="java" %>
<%@ page import="java.util.*" %>

<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#999999">
<tr> 
  <td class="td_title_bg">
     Page Name
  </td>
</tr>
  <% Iterator it = com.oval.foundation.container.PageContainer.getPages();
     String searchParam = (String)request.getParameter("searchParam");
     while(it.hasNext())
     {
       com.oval.foundation.metadata.pageflow.OvalPage ent = (com.oval.foundation.metadata.pageflow.OvalPage)it.next();
       if(searchParam != null && (ent.m_strPageName.indexOf(searchParam.trim()) == -1))
         continue;
         %>
<tr class="td_bg_row"> 
  <td class="td_center">
    <div align="left">
      <a href="javascript:popupTree('ShowPage.jsp?name=<%=JspHelper.filterNull( ent.m_strPageName )%>')"><%=JspHelper.filterNull( ent.m_strPageName )%></a>
    </div>
  </td>
</tr>
  <% } %>

</table>

